﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.OrganizationManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2023-03-19 19:11
    /// 描 述：实体类
    /// </summary>
    [Table("SysArea1")]
    public class SysArea1Entity : BaseExtensionEntity
    {
        /// <summary>
        /// 地区编码
        /// </summary>
        /// <returns></returns>
        public string AreaCode { get; set; }
        /// <summary>
        /// 父地区编码
        /// </summary>
        /// <returns></returns>
        public string ParentAreaCode { get; set; }
        /// <summary>
        /// 地区名称
        /// </summary>
        /// <returns></returns>
        public string AreaName { get; set; }
        /// <summary>
        /// 邮政编码
        /// </summary>
        /// <returns></returns>
        public string ZipCode { get; set; }
        /// <summary>
        /// 地区层级(1省份 2城市 3区县)
        /// </summary>
        /// <returns></returns>
        public int? AreaLevel { get; set; }
    }
}
